﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Model
{
    /// <summary>
    /// 样桶管理
    /// </summary>
    public class SysPail
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 桶序号
        /// </summary>

        public int PailId { get; set; }

        /// <summary>
        /// 批次码
        /// </summary>

        public string BatchCode { get; set; }

        /// <summary>
        /// 桶名称
        /// </summary>

        public string PailName { get; set; }

        /// <summary>
        /// 最大点位
        /// </summary>
        public int Threshold_Value { get; set; }

        /// <summary>
        /// 当前点位
        /// </summary>
        public int Current_Value { get; set; }

        /// <summary>
        /// 最大重量
        /// </summary>
        public double Threshold_Weihght { get; set; }

        /// <summary>
        /// 当前重量
        /// </summary>
        public double Current_Weight { get; set; }

        /// <summary>
        /// 是否禁用 0 启用 1 禁用
        /// </summary>
        public int Disable { get; set; }

        /// <summary>
        /// 禁用 文字显示
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string ShowDisable { get; set; }

        /// <summary>
        /// 用户Grid显示多选
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public bool ISCheck { get; set; }
    }
}
